<link rel="stylesheet" href="/assets/css/common.css"/>
<link rel="stylesheet" href="/assets/css/pagination.css"/>
<link rel="stylesheet" href="/assets/css/project.css"/>
<link rel="stylesheet" href="/assets/css/menu.css"/>
<link rel="stylesheet" href="/assets/css/ico-topbar-white.css"/>
<link rel="stylesheet" href="/assets/css/bottom.css"/>

<@extends name="/project/ico-topbar-white.ftl"/>
<div class="all">
<@extends name="/project/menu.ftl"/>
    <div class="content">
        <div class="inve-title clearfix">
            <i></i>
            <h3>我的投资</h3>
        </div>
        <div class="project-content">

        </div>
        <div class="pagina clearfix"></div>
    </div>

</div>
<#--<@extends name="/project/bottom.ftl"/>-->

<script src="/assets/script/jquery-1.8.2.min.js"></script>
<script src="https://cdn.bootcss.com/seajs/3.0.2/sea.js"></script>
<script src="/assets/script/common.js"></script>
<script src="/assets/script/jqPaginator.js"></script>
<script src="https://cdn.bootcss.com/handlebars.js/4.0.11/handlebars.js"></script>
<script>
    Handlebars.registerHelper('if_eq', function(v1, v2, opts) {
        if(v1 == v2)
            return opts.fn(this);
        else
            return opts.inverse(this);
    });
</script>
<script type="text/template" id="myTemplate">
    {{#each data.collection}}
    <div class="project-detail">
        <div class="detail-left row">
            <div class="detail">
                <span class="user-mobile">{{name}}</span>
            </div>
            <div class="time">项目结束时间:{{closeTimeFormat}}</div>
        </div>
        <div class="inv-amount row">
            <div class="detail">
                {{coinNumber}}
            </div>
            <div class="time">使用<span>{{coinName}}</span>投资金额</div>
        </div>
        <div class="inv-get row">
            <div class="detail">
                {{tokenNumber}}
            </div>
            <div class="time">获得<span>{{tokenName}}</span>数量</div>
        </div>
        <div class="detail-right">
            <a href="/detail/{{id}}">查看详情</a>
        </div>
    </div>
    {{/each}}
</script>
<script src="/assets/script/project.js"></script>